None Notebook

This notebook contains material from cbe61622; content is available on Github.

< 4.4 RPI Library tests | Contents | 6.0 Enabling the Internet of Things >

Open in Colab

Download

4.5 RPI Camera Module

The Raspberry Pi Foundation provides support for the use of Raspberry Pi Camera modules on various devices, including the Raspberry Pi 4B. Documentation can be found here.

High resolution images require additional gpu_mem. This can be set using the command line raspi-config under performance options.

4.5.1 PiCamera

PiCamera is a pure Python library providing access to the Raspberry Pi Camera module. PiCamera is included in the default Raspbian distribution.

4.5.1.1 Camera preview

Camera preview combined with a digital zoom features provides a useful means of acheiving critical focus. Documentation for PiCamera.zoom = (a, b, c, d), however, is sketchy. With a bit of experimentation, the parameters appear to represent

4.5.1.2 Capture to stream and display

4.5.1.3 Camera Settings

4.5.1.4 Capture to numpy array

4.5.1.4.1

< 4.4 RPI Library tests | Contents | 6.0 Enabling the Internet of Things >

Open in Colab

Download